package com.atgenee.base.service.impl;

import com.atgenee.base.dao.UserRepository;
import com.atgenee.base.entity.SysUser;
import com.atgenee.base.service.IUserService;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author Lee
 * @Description
 * @Date 2019年03月26日 22:28
 */
@Service
public class UserService implements IUserService {

    @Resource
    private UserRepository userRepository;

    @Override
    public SysUser findByUserName(String username) {
        return userRepository.findByUserName(username);
    }
}